import request from '@/plugins/request.js'


// 查询曲线工位信息
export function getPreferCurves(data){
    return request({
        url: '/prefer/curves',
        method: 'GET',
        data
    })
}


// 单类曲线List查询
export function getSimpleList(data){
    return request({
        url: '/curves/simple/list',
        method: 'POST',
        data
    })
}

// 曲线被测参数类型查询
export function getCurvesType(data){
    return request({
        url: '/curves/type',
        method: 'GET',
        data
    })
}

//曲线历史集合树形结构
export function getCurvesHistoryTree(data){
    return request({
        url: '/curves-historyTree',
        method: 'GET',
        data
    })
}
